//
//  BeasCollectionViewDataSource.h
//  iNCardNew
//
//  Created by Ourpower on 2014/12/4.
//  Copyright (c) 2014年 Ourpower. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void (^CollectionViewCellConfigureBlock)(id cell, id item );

@interface BeasCollectionViewDataSource : NSObject<UICollectionViewDataSource>
@property (nonatomic, strong) NSArray  * items;


@property (nonatomic, copy)   NSString * cellIdentifier;
@property (nonatomic, copy)   CollectionViewCellConfigureBlock configureCellBlock;

- (id)initWithItems:(NSArray *) items  cellIdentifier: (NSString *)cellIdentifier configureCellBlock: (CollectionViewCellConfigureBlock)configureCellBlock;
- (id)itemAtIndexPath:(NSIndexPath *)indexPath;
@end
